package com.geostar.constructionland.analyse.entity.es;

/**
 * @author yelll
 * @since 2020-6-3 16:54
 **/
public class EsEntity<T> {
    private String id;
    private T data;

    public EsEntity() {
    }

    public EsEntity(String id, T data) {
        this.data = data;
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
